﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/LOSSite.Master" Inherits="System.Web.Mvc.ViewPage<DataAccessLayer.Models.HousingLoan>" %>

<asp:Content ID="cntForm" ContentPlaceHolderID="Content" runat="server">
    <script src="<%= Url.Content("~/Scripts/MicrosoftAjax.js") %>" type="text/javascript"></script>
    <script src="<%= Url.Content("~/Scripts/MicrosoftMvcAjax.js") %>" type="text/javascript"></script>
    <script src="<%= Url.Content("~/Scripts/MicrosoftMvcValidation.js") %>" type="text/javascript"></script>

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">ProductId</div>
        <div class="display-field"><%: Model.ProductId %></div>
        
        <div class="display-label">ProductName</div>
        <div class="display-field"><%: Model.ProductName %></div>
        
        <div class="display-label">ProductDesc</div>
        <div class="display-field"><%: Model.ProductDesc %></div>
        
        <div class="display-label">AdminFee</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.AdminFee) %></div>
        
        <div class="display-label">CancelFee</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.CancelFee) %></div>
        
        <div class="display-label">MinInterestType</div>
        <div class="display-field"><%: Model.MinInterestType %></div>
        
        <div class="display-label">MinInterestPercent</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.MinInterestPercent) %></div>
        
        <div class="display-label">MaxInterestType</div>
        <div class="display-field"><%: Model.MaxInterestType %></div>
        
        <div class="display-label">MaxInterestPercent</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.MaxInterestPercent) %></div>
        
        <div class="display-label">MinIncome</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.MinIncome) %></div>
        
        <div class="display-label">MaxRar</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.MaxRar) %></div>
        
        <div class="display-label">MinPropLeasePeriod</div>
        <div class="display-field"><%: Model.MinPropLeasePeriod %></div>
        
        <div class="display-label">MinPropLeaseUnit</div>
        <div class="display-field"><%: Model.MinPropLeaseUnit %></div>
        
        <div class="display-label">MinTenorPeriod</div>
        <div class="display-field"><%: Model.MinTenorPeriod %></div>
        
        <div class="display-label">MinTenorUnit</div>
        <div class="display-field"><%: Model.MinTenorUnit %></div>
        
        <div class="display-label">Version</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.Version) %></div>
        
    </fieldset>
    <p>

        <%: Html.ActionLink("Edit", "Edit", new { id=Model.ProductId }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

